import { RoleDto } from "./role.dto";

export class UserDto {
    public userId!: number;
    public username!: string;
    public nickName?: string;
    public deptId?: number;
    public deptName?: string;
    public sex?: number;
    public email?: string;
    public phoneNumber?: string;
    public remark?: string;
    public enabled!: boolean;
    public roles: RoleDto[] = [];
    public joinTime?: Date;
    public birthday?: Date;
}